<ui:composition xmlns="http://www.w3.org/1999/xhtml"
				xmlns:h="http://java.sun.com/jsf/html"
				xmlns:ui="http://java.sun.com/jsf/facelets"
				xmlns:util="http://java.sun.com/jsf/composite/components/util"
				xmlns:p="http://primefaces.org/ui"
				template="/pages/layout.xhtml" >
    
<!-- <h:form> -->
			
<!--     <p:growl id="messages"/> -->

<!--     <h3>Default SlideMenu</h3> -->
<!--     <p:slideMenu style="width:180px"> -->
<!--         <p:submenu label="Ajax Menuitems" icon="ui-icon-refresh"> -->
<!--             <p:menuitem value="Save" actionListener="#{menuBean.save}" update="messages" icon="ui-icon-disk" /> -->
<!--             <p:menuitem value="Update" actionListener="#{menuBean.update}" update="messages" icon="ui-icon-arrowrefresh-1-w" /> -->
<!--         </p:submenu> -->
<!--         <p:submenu label="Non-Ajax Menuitem" icon="ui-icon-newwin"> -->
<!--             <p:menuitem value="Delete" actionListener="#{menuBean.delete}"  ajax="false" icon="ui-icon-close"/> -->
<!--         </p:submenu> -->
<!--         <p:separator /> -->
<!--         <p:submenu label="Navigations" icon="ui-icon-extlink"> -->
<!--             <p:submenu label="Prime Links"> -->
<!--                 <p:menuitem value="Prime" url="http://www.prime.com.tr" /> -->
<!--                 <p:menuitem value="PrimeFaces" url="http://www.primefaces.org" /> -->
<!--             </p:submenu> -->
<!--             <p:menuitem value="Mobile" outcome="/mobile/index" /> -->
<!--         </p:submenu> -->
<!--     </p:slideMenu> -->
<!-- </h:form> -->

<h:form>
			
    <p:growl id="messages"/>

    <p:slideMenu style="width:180px">
        <p:submenu label="Ajax Menuitems" icon="ui-icon-refresh">
            <p:menuitem value="Save" actionListener="#{menuBean.save}" update="messages" icon="ui-icon-disk" />
            <p:menuitem value="Update" actionListener="#{menuBean.update}" update="messages" icon="ui-icon-arrowrefresh-1-w" />
            <p:menuitem value="Logout" actionListener="#{sessionController.logout}" update="messages" icon="ui-icon-arrowrefresh-1-w" />
        </p:submenu>
    </p:slideMenu>
</h:form>

</ui:composition>